Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

157
Visualizações
Can there be a "span wicket:id" between the wicket:child tag in parent html page?

The example of what I want to do :

Parent HTML:

<wicket:child>    
 .....
 <span wicket:id="xxx"></span>  
</wicket:child>`   
...  

Child HTML:

<wicket:extend>
... child content ...
</wicket:extend>

Supposedly when child page is opened the extend tag will replace all the content between the child tag in parent html, including the <span wicket:id>.

Apparently this won't work, when the child page is open error will occur:
Wicket tags identified by wicket:id are not allowed in between wicket:child> and </wicket:child>

I assume this is because the wicket:span tag got pass into the child extend page and cause this issue? If the span is removed the problem is resolved.

Is there anyway I can keep the span tag in paranet HTML and still make this work?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This is not allowed. Wicket components are not allowed inside <wicket:child>...</wicket:child>. See https://github.com/apache/wicket/blob/9e42a9548adb0da540e4e87d491f5824e778537e/wicket-core/src/main/java/org/apache/wicket/markup/MergedMarkup.java#L295

Why do you want to have it there ? What do you want to achieve ?

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda